package com.goodfox.web.generic.provide.entity;

/**
 * 列表表头与字段对应
 * @author qin gt
 *
 */
public class ColumnField {

	//表头显示名称
	private String showName;
	//实体中字段名称
	private String filedName;
	//子类型
	private Class subClass;
	//写入顺序
	private int writeSort;
	
	public ColumnField(String showName,String filedName){
		this.showName=showName;
		this.filedName=filedName;
	}
	
	public ColumnField(String showName,String filedName,Class subClass){
		this.showName=showName;
		this.filedName=filedName;
		this.subClass=subClass;
	}
	
	public String getShowName() {
		return showName;
	}
	public void setShowName(String showName) {
		this.showName = showName;
	}
	public String getFiledName() {
		return filedName;
	}
	public void setFiledName(String filedName) {
		this.filedName = filedName;
	}
	public Class getSubClass() {
		return subClass;
	}
	public void setSubClass(Class subClass) {
		this.subClass = subClass;
	}
	public int getWriteSort() {
		return writeSort;
	}
	public void setWriteSort(int writeSort) {
		this.writeSort = writeSort;
	}
	
}
